package com.dbsop.config;


import lombok.Getter;
import lombok.Setter;

/**
 * prefix = elasticsearch
 */
@Getter
@Setter
public class EsClientConfig {

    /**
     * SQL 配置 prefix=datasource
     */
    private EsDataSourceConfig datasource;

    private String useType = "http";

    private EsHttpConfiguration http;

    private SettingProperties properties = new SettingProperties();

    /**
     * TCP 客户端配置 prefix=transport
     */
    private EsTransportConfiguration transport;


}
